// var timeUtil = require('../util/TimeUtils')
//
//
// let str = 'frame= 1203 fps=119 q=48.0 size=N/A time=00:00:50.43 bitrate=N/A dup=0 drop=48 speed=4.98x';
// var reg = /time=(.+) bitrate/;
// let result = reg.exec(str);
//
// let duration = 60.024000;
// let curTime = result[1];
//
// console.log(timeUtil.getTime2Percent(duration,curTime));



let str = "/movie/2759/720p/index.m3u8";
var reg = /(movie|tv|jiemu|anime)[\/]+(\d+)[\/]+([\d]{1,3}p)[\/]+/;
let result = reg.exec(str);

console.log(result);


